package com.web.service;

import com.web.entity.Admin;
import com.baomidou.mybatisplus.service.IService;
import com.web.param.AdminLoginDto;
import com.web.param.UpdatePasswordDto;
import com.web.util.LoginException;
import com.web.util.ServiceException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hgjxyz
 * @since 2020-11-18
 */
public interface IAdminService extends IService<Admin> {

    String adminLogin(AdminLoginDto dto)throws ServiceException;

    void updatePwd(UpdatePasswordDto dto)throws ServiceException, LoginException;
}
